package start.demo01.datatype.json.entity.editor.jsonEditor;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import start.demo01.datatype.json.interfaces.JSONEditor;

public class JSONKafkaEditor extends JSONEditor {

    //Object intoKafka()
    public JSONKafkaEditor(String args) {
        super(args);
        name = "KAFKA";
    }

    @Override
    protected void operationObject(JSONObject object, String key) {
        map.put("kafka",object);
    }

    @Override
    protected void operationArray(JSONArray array, int index) {
        return;
    }

    @Override
    protected void operation(JSONObject object) {

    }
}
